'use strict';

/**
 * @param {Egg.Application} app - egg application
 */
module.exports = app => {
  const { router, controller } = app;
  router.get('/', controller.home.index);
  router.get('/qmt/account' , controller.home.account )
  router.get('/qmt/login' , controller.qMTrade.login )
  router.get('/trade/acount/detail' , controller.qMTrade.getAccountDetail)
  router.get('/trade/buy', controller.qMTrade.buy );
};
